package com.example.servicemodule1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping
public class HelloWorldController {

    @RequestMapping("sayHello")
    @ResponseBody
    public String sayHello(){
        return "hello";
    }
}
